using System;
using Core.Threading.ThreadPools.TaskItems;

namespace Core.Threading.ThreadPools.TaskQueueControllers
{
    public interface ITaskQueueController : IDisposable
    {
        int ConsumersWaiting { get; }
        void Enqueue(WorkItem item);
        WorkItem Dequeue();
    }
}